package com.torry.edss.domain.accessor;

import com.torry.edss.domain.accessor.dto.FindLimitUpDTO;
import com.torry.edss.domain.model.LimitUp;
import com.torry.edss.infras.entity.LimitUpDO;
import com.torry.boot.starter.mybatisplus.service.IAccessor;

import java.util.List;

/**
 * <p>
 * 访问类
 * </p>
 *
 * @author torry.wang
 * @since 2025-05-09
 */
public interface LimitUpAccessor extends IAccessor<LimitUp, LimitUpDO> {

    int countByDate(String date);

    int countByDateAndCompanyId(List<String> dates, Long companyId);

    List<LimitUp> findByDate(String date);

    List<LimitUp> findByDateAndContinuousCount(List<String> dates, List<Integer> continuousCounts, Double volumeMultiple);

    List<LimitUp> findLimitUps(FindLimitUpDTO dto);
}
